from django.urls import path
from department.interface import profile, all, create, update, delete
from department.interface.role import list as role_list, profile as role_profile
from department.interface.member import add as member_add, profile as member_profile, update as member_update, \
    delete as member_delete


urlpatterns = [
    path('profile', profile.API.as_view()),
    path('all', all.API.as_view()),
    path('create', create.API.as_view()),
    path('update', update.API.as_view()),
    path('delete', delete.API.as_view()),
    path('role/list', role_list.API.as_view()),
    path('role/profile', role_profile.API.as_view()),
    path('member/add', member_add.API.as_view()),
    path('member/profile', member_profile.API.as_view()),
    path('member/update', member_update.API.as_view()),
    path('member/delete', member_delete.API.as_view()),
]
